﻿/* 
 * Entity class for the $MetricsCapacityBlob table defined by Azure
 */
// Source: http://blogs.msdn.com/b/windowsazurestorage/archive/2011/08/03/windows-azure-storage-metrics-using-metrics-to-track-storage-usage.aspx
using System.Data.Services.Common;

namespace AMT.Azure.Storage
{
	[System.Runtime.Serialization.DataContract]
	[DataServiceKey("PartitionKey", "RowKey")]
	public class MetricsCapacityEntity
	{
		// Version designator for this class
		public readonly float Version = 1.0F;

		[System.Runtime.Serialization.DataMember]
		public string PartitionKey { get; set; }

		[System.Runtime.Serialization.DataMember]
		public string RowKey { get; set; }
	
		[System.Runtime.Serialization.DataMember]
		public long Capacity { get; set; }
		
		[System.Runtime.Serialization.DataMember]
		public long ContainerCount { get; set; }
		
		[System.Runtime.Serialization.DataMember]
		public long ObjectCount { get; set; }
	}

}
